<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Snake: Block luokkareferenssi</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generoinut Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Snake</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Pääsivu</span></a></li>
      <li><a href="namespaces.html"><span>Nimiavaruudet</span></a></li>
      <li class="current"><a href="annotated.html"><span>Luokat</span></a></li>
      <li><a href="files.html"><span>Tiedostot</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Luokkalista</span></a></li>
      <li><a href="classes.html"><span>Luokkaluettelo</span></a></li>
      <li><a href="functions.html"><span>Luokan&#160;jäsenet</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_block.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Julkiset jäsenfunktiot</a> &#124;
<a href="#pri-attribs">Yksityiset attribuutit</a>  </div>
  <div class="headertitle">
<div class="title">Block luokkareferenssi</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Block" -->
<p><code>#include &lt;<a class="el" href="block_8h_source.html">block.h</a>&gt;</code></p>

<p><a href="class_block-members.html">Lista kaikista jäsenistä.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Julkiset jäsenfunktiot</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_block.html#a3ff2925a4aa73cb9cabe5097b79f636e">Block</a> (int <a class="el" href="class_block.html#a13d0a6d225233353862fa5adcbadf661">x</a>, int <a class="el" href="class_block.html#a9328d6b6fcc9f9c019d091d87ceda41c">y</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_block.html#a19d1bd0e1cef6a865ed2745a2e648405">~Block</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_block.html#afb4477d5cbe1847d9258c6d713594e05">jumpTo</a> (int <a class="el" href="class_block.html#a13d0a6d225233353862fa5adcbadf661">x</a>, int <a class="el" href="class_block.html#a9328d6b6fcc9f9c019d091d87ceda41c">y</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_block.html#a527c8f990b4b99dda6f4ca225ee32c14">getX</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_block.html#a2501c303a7975db005ddc49d9551a51b">getY</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Yksityiset attribuutit</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_block.html#a13d0a6d225233353862fa5adcbadf661">x</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_block.html#a9328d6b6fcc9f9c019d091d87ceda41c">y</a></td></tr>
</table>
<hr/><h2>Rakentajien &amp; purkajien dokumentaatio</h2>
<a class="anchor" id="a3ff2925a4aa73cb9cabe5097b79f636e"></a><!-- doxytag: member="Block::Block" ref="a3ff2925a4aa73cb9cabe5097b79f636e" args="(int x, int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Block::Block </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Muodostinfunktio, joka asettaa palikan aloitussijainnin. </p>

</div>
</div>
<a class="anchor" id="a19d1bd0e1cef6a865ed2745a2e648405"></a><!-- doxytag: member="Block::~Block" ref="a19d1bd0e1cef6a865ed2745a2e648405" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Block::~Block </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Tuhoaja. </p>

</div>
</div>
<hr/><h2>Jäsenfunktioiden dokumentaatio</h2>
<a class="anchor" id="a527c8f990b4b99dda6f4ca225ee32c14"></a><!-- doxytag: member="Block::getX" ref="a527c8f990b4b99dda6f4ca225ee32c14" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Block::getX </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Palauttaa x-muuttujan arvon. </p>
<dl class="return"><dt><b>Palauttaa:</b></dt><dd>x </dd></dl>

</div>
</div>
<a class="anchor" id="a2501c303a7975db005ddc49d9551a51b"></a><!-- doxytag: member="Block::getY" ref="a2501c303a7975db005ddc49d9551a51b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Block::getY </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Palauttaa y-muuttujan arvon. </p>
<dl class="return"><dt><b>Palauttaa:</b></dt><dd>y </dd></dl>

</div>
</div>
<a class="anchor" id="afb4477d5cbe1847d9258c6d713594e05"></a><!-- doxytag: member="Block::jumpTo" ref="afb4477d5cbe1847d9258c6d713594e05" args="(int x, int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Block::jumpTo </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Siirtää palikan uuteen sijaintiin. </p>
<dl><dt><b>Parametrit:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>uusi x-koordinaatti </td></tr>
    <tr><td class="paramname">y</td><td>uusi y-koordinaatti </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Jäsendatan dokumentaatio</h2>
<a class="anchor" id="a13d0a6d225233353862fa5adcbadf661"></a><!-- doxytag: member="Block::x" ref="a13d0a6d225233353862fa5adcbadf661" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_block.html#a13d0a6d225233353862fa5adcbadf661">Block::x</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9328d6b6fcc9f9c019d091d87ceda41c"></a><!-- doxytag: member="Block::y" ref="a9328d6b6fcc9f9c019d091d87ceda41c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_block.html#a9328d6b6fcc9f9c019d091d87ceda41c">Block::y</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>Dokumentaatio tälle luokalle luotiin seuraavista tiedostoista:<ul>
<li>C:/Documents and Settings/HP_Omistaja/Työpöytä/windowsPeli/winPeliSVN/winPeli/<a class="el" href="block_8h_source.html">block.h</a></li>
<li>C:/Documents and Settings/HP_Omistaja/Työpöytä/windowsPeli/winPeliSVN/winPeli/<a class="el" href="block_8cpp.html">block.cpp</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="class_block.html">Block</a>      </li>
      <li class="footer">Generoinut projektille Snake Sat Apr 16 2011 19:06:21 &#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
    </ul>
  </div>

</body>
</html>
